package com.geekca.d4;

public class TestStackHeap {
    public static void main(String[] args) {
        /**
         * ages 栈
         *{23,44,32} 堆;
         */
        int[] arr1 = {11, 22, 33};
        int[] arr2 = arr1;
        int[] arr3 = {11, 22, 33};
        System.out.println(arr1 == arr2);
        System.out.println(arr1 == arr3);
        System.out.println(arr2 == arr3);
        arr3 = null;
        System.out.println(arr3);
        arr1 =null;
        arr3[0] =1;
        arr1[2] =5;


    }
}
